Skip to content

Conversation

@xudong963
Copy link
Collaborator

We should do some restrictions for limit pruning. Only the pure limit query can be pruned by limit.

Copy link
Collaborator

@zhuqi-lucas zhuqi-lucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhuqi-lucas
Copy link
Collaborator

Some tests are failed, i am not sure if it's related:

failures:
    parquet::row_group_pruning::test_limit_pruning_basic
    parquet::row_group_pruning::test_limit_pruning_complex_filter
    parquet::row_group_pruning::test_limit_pruning_multiple_fully_matched

@xudong963
Copy link
Collaborator Author

Some tests are failed, i am not sure if it's related:

failures:
    parquet::row_group_pruning::test_limit_pruning_basic
    parquet::row_group_pruning::test_limit_pruning_complex_filter
    parquet::row_group_pruning::test_limit_pruning_multiple_fully_matched

Yeah, I'm fixing it

@xudong963
Copy link
Collaborator Author

Some tests are failed, i am not sure if it's related:

failures:
    parquet::row_group_pruning::test_limit_pruning_basic
    parquet::row_group_pruning::test_limit_pruning_complex_filter
    parquet::row_group_pruning::test_limit_pruning_multiple_fully_matched

Yeah, I'm fixing it

DF doesn't support limit pushdown filter in logical optimizer now, even if the pushdown_filter is true. I disabled these failed tests and plan to merge the PR so as not to block the upgrade DF51.

@xudong963 xudong963 merged commit ff301c8 into branch-51 Nov 19, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants